package org.batatasframework.support.charts.baidu;

/**
 * 图表工具箱
 * @author jackson
 *
 */
public class ChartToolbox {
	private boolean show = false;
	/**
	 * 布局方式，默认为水平布局，可选为：'horizontal' | 'vertical'
	 */
	private String orient = "horizontal";
	
	private String x;
	
	private String y;
	
	private ChartToolboxFeature feature;
	

	public String getX() {
		return x;
	}
	public void setX(String x) {
		this.x = x;
	}
	public String getY() {
		return y;
	}
	public void setY(String y) {
		this.y = y;
	}
	public ChartToolboxFeature getFeature() {
		if(null==feature){
			feature = new ChartToolboxFeature();
		}
		return feature;
	}
	public void setFeature(ChartToolboxFeature feature) {
		this.feature = feature;
	}
	public boolean isShow() {
		return show;
	}
	public void setShow(boolean show) {
		this.show = show;
	}
	public String getOrient() {
		return orient;
	}
	public void setOrient(String orient) {
		this.orient = orient;
	}
	
}
